package codediff.parse.report;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.collect.Lists;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
public class CoverageClass {
    @JsonProperty("name")
    private String name;
    @JsonProperty("sourcefilename")
    private String sourcefilename;
    @JsonProperty("method")
    private List<CoverageMethod> coverageMethods = Lists.newArrayList();
    @JsonProperty("counter")
    private List<Counter> counters = Lists.newArrayList();
}
